from __future__ import unicode_literals

from django.contrib import admin

from .models import *


# Register your models here.

class PostModelAdmin(admin.ModelAdmin):
    list_display = ['title', 'create_time', 'category']
    # list_filter = ['category__name']


admin.site.register(Category)
admin.site.register(Tag)
admin.site.register(Post, PostModelAdmin)
